let permission_field = [
  {
    name: '基础信息',
    state: 3, // 1.全选 2.field_list中有被选中 3.都未选
    field_list: [{
      name: '项目名称',
      field_name: 'project_name',
      state: false,
    }, {
      name: '项目编号',
      field_name: 'project_number',
      state: false,
    }, {
      name: '项目品牌',
      field_name: 'brand_name',
      state: false,
    }, {
      name: '项目类型',
      field_name: 'project_type',
      state: false,
    }, {
      name: '是否勘场',
      field_name: 'survey_site',
      state: false,
    }, {
      name: '项目进度',
      field_name: 'display_status',
      state: false,
    }, {
      name: '省市区',
      field_name: 'area',
      state: false,
    }, {
      name: '详细地址',
      field_name: 'address',
      state: false,
    }, {
      name: '品牌方',
      field_name: 'channel_manager_name',
      state: false,
    }, {
      name: '客户经理',
      field_name: 'account_manager_name',
      state: false,
    }, {
      name: '创建时间',
      field_name: 'created_at',
      state: false,
    }, {
      name: '最新沟通进度',
      field_name: 'latest_communication_progress',
      state: false,
    },]
  }, {
    name: '客户信息',
    state: 3,
    field_list: [{
      name: '会员编号',
      field_name: 'KH_member_id',
      state: false,
    }, {
      name: '客户名称',
      field_name: 'KH_name',
      state: false,
    }, {
      name: '联系方式',
      field_name: 'KH_phone',
      state: false,
    }, {
      name: '年龄',
      field_name: 'KH_customer_age',
      state: false,
    }, {
      name: '性别',
      field_name: 'KH_customer_sex',
      state: false,
    }, {
      name: '客户身份',
      field_name: 'KH_customer_identity',
      state: false,
    }, {
      name: '客户类型',
      field_name: 'KH_customer_type',
      state: false,
    }, {
      name: '客户业务区域',
      field_name: 'KH_business_area',
      state: false,
    }, {
      name: '对客关注度',
      field_name: 'KH_customer_attention',
      state: false,
    }, {
      name: '目前经营品牌',
      field_name: 'KH_current_operating_brand',
      state: false,
    }, {
      name: '次社会关系',
      field_name: 'KH_secondary_social_relations',
      state: false,
    }, {
      name: '客户态度',
      field_name: 'KH_customer_attitude',
      state: false,
    }, {
      name: '年度开店计划',
      field_name: 'KH_annual_store_opening_plan',
      state: false,
    }, {
      name: '投资能力',
      field_name: 'KH_investment_capability',
      state: false,
    }, {
      name: '备注',
      field_name: 'KH_remark',
      state: false,
    },]
  },
  {// 联系人
    name: '客户联系人',
    state: 3,
    field_list: [{
      name: '联系人名称',
      field_name: 'customer_name',
      state: false,
    }, {
      name: '联系方式',
      field_name: 'customer_phone',
      state: false,
    }, {
      name: '客户身份',
      field_name: 'customer_identity',
      state: false,
    }, {
      name: '对客关注度',
      field_name: 'customer_attention',
      state: false,
    }, {
      name: '客户态度',
      field_name: 'customer_attitude',
      state: false,
    }, {
      name: '年度开店计划',
      field_name: 'annual_store_opening_plan',
      state: false,
    }, {
      name: '目前经营品牌',
      field_name: 'current_operating_brand',
      state: false,
    }, {
      name: '次社会关系',
      field_name: 'secondary_social_relations',
      state: false,
    }, {
      name: '投资能力',
      field_name: 'investment_capability',
      state: false,
    }, {
      name: '备注',
      field_name: 'customer_remark',
      state: false,
    },]
  },
  {
    name: '勘场信息',
    state: 3,
    field_list: [{
      name: '设计师',
      field_name: 'designer_name',
      state: false,
    }, {
      name: '申请勘场日期',
      field_name: 'apply_survey_date',
      state: false,
    }, {
      name: '勘场工程经理',
      field_name: 'site_surveyors_name',
      state: false,
    }, {
      name: '约定勘场日期',
      field_name: 'survey_date',
      state: false,
    }, {
      name: '实际勘场日期',
      field_name: 'actual_survey_date',
      state: false,
    }, {
      name: '现场图片',
      field_name: 'scene_file',
      state: false,
    }, {
      name: '现场视频',
      field_name: 'video_file',
      state: false,
    }, {
      name: '勘场报告',
      field_name: 'report_file',
      state: false,
    }, {
      name: '勘场资料',
      field_name: 'survey_data',
      state: false,
    }, {
      name: '手绘图',
      field_name: 'sketch_file',
      state: false,
    }, {
      name: '收款类型',
      field_name: 'kc_type',
      state: false,
    }, {
      name: '收款账户',
      field_name: 'kc_receiving_account',
      state: false,
    }, {
      name: '收款金额',
      field_name: 'kc_amount_collected',
      state: false,
    }, {
      name: '收款凭证',
      field_name: 'kc_voucher_file',
      state: false,
    }, {
      name: '设计文件',
      field_name: 'kc_survey_data',
      state: false,
    }]
  }, { // 项目设计图
    name: '项目设计图',
    state: 3,
    field_list: [{
      name: '平面图',
      field_name: 'plan_drawing_image',
      state: false,
    }, {
      name: '平面图文件',
      field_name: 'plan_drawing',
      state: false,
    }, {
      name: '效果图',
      field_name: 'effect_drawing_image',
      state: false,
    }, {
      name: '效果图文件',
      field_name: 'effect_drawing',
      state: false,
    }, {
      name: '施工图',
      field_name: 'construction_drawing_image',
      state: false,
    }, {
      name: '施工图文件',
      field_name: 'construction_drawing',
      state: false,
    }, {
      name: '其他文件',
      field_name: 'other_file',
      state: false,
    },]
  }, {// 报价信息
    name: '报价信息',
    state: 3,
    field_list: [{
      name: '造价员',
      field_name: 'cost_estimator_name',
      state: false,
    }, {
      name: '申请报价日期',
      field_name: 'bj_created_at',
      state: false,
    }, {
      name: '最终报价日期',
      field_name: 'completion_at',
      state: false,
    }, {
      name: '预计开工日期',
      field_name: 'start_date',
      state: false,
    }, {
      name: '预计完工日期',
      field_name: 'end_date',
      state: false,
    }, {
      name: '预计工期',
      field_name: 'duration_days',
      state: false,
    }, {
      name: '建筑面积',
      field_name: 'building_area',
      state: false,
    }, {
      name: '报价金额',
      field_name: 'quotation_amount',
      state: false,
    }, {
      name: '基础装修费',
      field_name: 'basic_decoration_fee',
      state: false,
    }, {
      name: '主材采购费',
      field_name: 'material_costs',
      state: false,
    }, {
      name: '税金',
      field_name: 'quotation_taxes',
      state: false,
    }, {
      name: '成本金额',
      field_name: 'cost_amount',
      state: false,
    }, {
      name: '现场采购成本',
      field_name: 'procurement_cost',
      state: false,
    }, {
      name: '公司集采成本',
      field_name: 'centralized_procurement_cost',
      state: false,
    }, {
      name: '管理成本',
      field_name: 'management_costs',
      state: false,
    }, {
      name: '利润金额',
      field_name: 'profit_amount',
      state: false,
    }, {
      name: '报价附件',
      field_name: 'quotation_file',
      state: false,
    }, {
      name: '成本附件',
      field_name: 'cost_list_file',
      state: false,
    }, {
      name: '利润附件',
      field_name: 'profit_statement_file',
      state: false,
    }, {
      name: '利润率',
      field_name: 'bj_profit_amount',
      state: false,
    }, {
      name: '报价类型',
      field_name: 'bj_quotation_type',
      state: false,
    }, {
      name: '预计签约金额',
      field_name: 'bj_new_amount',
      state: false,
    }, {
      name: '优惠金额',
      field_name: 'bj_discount_amount',
      state: false,
    }]
  },
  { // 增减项列表
    name: '增减项信息',
    state: 3,
    field_list: [{
      name: '增减项类型',
      field_name: 'increase_or_decrease',
      state: false,
    }, {
      name: '增减项内容',
      field_name: 'change_content',
      state: false,
    }, {
      name: '最终报价日期',
      field_name: 'final_quotation_time',
      state: false,
    }, {
      name: '申请报价日期',
      field_name: 'zj_created_at',
      state: false,
    }, {
      name: '预计开工日期',
      field_name: 'zj_start_date',
      state: false,
    }, {
      name: '预计完工日期',
      field_name: 'zj_end_date',
      state: false,
    }, {
      name: '预计工期',
      field_name: 'expect_duration_days',
      state: false,
    }, {
      name: '基础装修费',
      field_name: 'zj_basic_decoration_fee',
      state: false,
    }, {
      name: '主材采购费',
      field_name: 'zj_material_costs',
      state: false,
    },
    {
      name: '报价金额',
      field_name: 'zj_quotation_amount',
      state: false,
    },
    {
      name: '税金',
      field_name: 'zj_quotation_taxes',
      state: false,
    },
    {
      name: '成本金额',
      field_name: 'zj_cost_amount',
      state: false,
    },
    {
      name: '现场采购成本',
      field_name: 'zj_procurement_cost',
      state: false,
    },
    {
      name: '公司集采成本',
      field_name: 'zj_centralized_procurement_cost',
      state: false,
    },
    {
      name: '管理成本',
      field_name: 'zj_management_costs',
      state: false,
    },
    {
      name: '利润金额',
      field_name: 'zj_profit_amount',
      state: false,
    },
    {
      name: '利润率',
      field_name: 'zj_profit_ratio',
      state: false,
    },
    {
      name: '增减项附件',
      field_name: 'zj_change_file',
      state: false,
    },
    {
      name: '备注',
      field_name: 'zj_desc',
      state: false,
    },
    {
      name: '增减项原因',
      field_name: 'reason_type',
      state: false,
    },
    {
      name: '报价附件',
      field_name: 'zj_quotation_file',
      state: false,
    },
    {
      name: '成本附件',
      field_name: 'zj_cost_list_file',
      state: false,
    },
    {
      name: '利润附件',
      field_name: 'zj_profit_statement_file',
      state: false,
    },
    {
      name: '造价员',
      field_name: 'zj_cost_estimator_name',
      state: false,
    },
    {
      name: '施工内容',
      field_name: 'construction_content',
      state: false,
    },
    {
      name: '增减项金额',
      field_name: 'change_amount',
      state: false,
    }]
  },
  {
    name: '合同信息',
    state: 3,
    field_list: [{
      name: '合同签约日期',
      field_name: 'signing_date',
      state: false,
    }, {
      name: '签约主体',
      field_name: 'account_name',
      state: false,
    }, {
      name: '最终报价金额',
      field_name: 'system_quotation',
      state: false,
    }, {
      name: '合同签约金额',
      field_name: 'contract_price',
      state: false,
    }, {
      name: '合同报价比',
      field_name: 'contract_quotation_ratio',
      state: false,
    }, {
      name: '合同利润率',
      field_name: 'contract_profit_margin',
      state: false,
    }, {
      name: '合同开工日期',
      field_name: 'contract_commencement_date',
      state: false,
    }, {
      name: '合同完工日期',
      field_name: 'contract_completion_date',
      state: false,
    }, {
      name: '合同工期',
      field_name: 'contract_duration_days',
      state: false,
    }, {
      name: '签约流程时效',
      field_name: 'term_validity',
      state: false,
    }, {
      name: '结算完成日期',
      field_name: 'settlement_completion_date',
      state: false,
    }, {
      name: '合同附件',
      field_name: 'contract_files',
      state: false,
    }, {
      name: '合同备注',
      field_name: 'ht_remark',
      state: false,
    }, {
      name: '取消日期',
      field_name: 'cancel_at',
      state: false,
    }, {
      name: '取消类型',
      field_name: 'cancel_type',
      state: false,
    }, {
      name: '取消原因描述',
      field_name: 'cancel_reason',
      state: false,
    },]
  }, {
    name: '施工信息',
    state: 3,
    field_list: [{
      name: '施工工程经理',
      field_name: 'engineering_manager_name',
      state: false,
    }, {
      name: '工程监理',
      field_name: 'engineering_supervision_name',
      state: false,
    }, {
      name: '工长',
      field_name: 'foreman_name',
      state: false,
    }, {
      name: '施工进度',
      field_name: 'construction_progress',
      state: false,
    }, {
      name: '实际开工日期',
      field_name: 'on_site_start_date',
      state: false,
    }, {
      name: '实际完工日期',
      field_name: 'actual_completion_date',
      state: false,
    }, {
      name: '当前工期',
      field_name: 'current_duration',
      state: false,
    }, {
      name: '实际工期',
      field_name: 'actual_duration',
      state: false,
    }, {
      name: '超期类型',
      field_name: 'overdue_type',
      state: false,
    }, {
      name: '超期原因',
      field_name: 'reason_overdue',
      state: false,
    }, {
      name: '开工日期',
      field_name: 'sg_start_date',
      state: false,
    }, {
      name: '开工图片',
      field_name: 'kg_start_file',
      state: false,
    },
    // 节点信息
    {
      name: '施工节点验收内容',
      field_name: 'project_nodes',
      state: false,
    }]
  }, {
    // 施工日志
    name: '施工日志',
    state: 3,
    field_list: [
      {
        name: '施工日志备注',
        field_name: 'sg_remark',
        state: false,
      }, {
        name: '施工阶段',
        field_name: 'construction_stage',
        state: false,
      }, {
        name: '施工内容',
        field_name: 'sg_content',
        state: false,
      }, {
        name: '施工日志文件',
        field_name: 'sg_log_file',
        state: false,
      }, {
        name: '是否超期',
        field_name: 'is_overdue',
        state: false,
      }, {
        name: '超期原因',
        field_name: 'sg_reason_overdue',
        state: false,
      }, {
        name: '超期类型',
        field_name: 'sg_overdue_type',
        state: false,
      }, {
        name: '施工进度',
        field_name: 'sg_construction_progress',
        state: false,
      }]
  }, {
    name: '收款信息',
    state: 3,
    field_list: [{
      name: '收款类型',
      field_name: 'payment_type',
      state: false,
    }, {
      name: '账户名称',
      field_name: 'receiving_account',
      state: false,
    }, {
      name: '收款账户',
      field_name: 'account_number',
      state: false,
    }, {
      name: '收款金额',
      field_name: 'amount_collected',
      state: false,
    }, {
      name: '收款凭证',
      field_name: 'voucher_file',
      state: false,
    }, {
      name: '收款状态',
      field_name: 'review_status',
      state: false,
    }, {
      name: '收款时间',
      field_name: 'sk_created_at',
      state: false,
    },]
  }, {
    name: '维保信息',
    state: 3,
    field_list: [{
      name: '质保截止日期',
      field_name: 'warranty_deadline_date',
      state: false,
    }, {
      name: '是否质保期',
      field_name: 'is_sell_by',
      state: false,
    }]
  }, {
    name: '维保记录',
    state: 3,
    field_list: [
      {
        name: '维保内容描述',
        field_name: 'problem_content',
        state: false,
      }, {
        name: '维保记录售后状态',
        field_name: 'after_sales_status',
        state: false,
      }, {
        name: '维保记录售后时效',
        field_name: 'after_sales_timeliness',
        state: false,
      }, {
        name: '维保记录创建时间',
        field_name: 'wb_created_at',
        state: false,
      }, {
        name: '维保记录完成时间',
        field_name: 'wb_completion_date',
        state: false,
      },
    ]
  }, {
    name: '结算信息',
    state: 3,
    field_list: [{
      name: '出具结算单日期',
      field_name: 'settlement_completion_start_date',
      state: false,
    }, {
      name: '结算完成日期',
      field_name: 'js_settlement_completion_date',
      state: false,
    }, {
      name: '合同签约金额',
      field_name: 'js_contract_price',
      state: false,
    }, {
      name: '增减项总金额',
      field_name: 'changes_amount',
      state: false,
    }, {
      name: '应结算金额',
      field_name: 'settlement_amount',
      state: false,
    }, {
      name: '现场采购成本',
      field_name: 'js_procurement_cost',
      state: false,
    }, {
      name: '公司集采成本',
      field_name: 'js_centralized_procurement_cost',
      state: false,
    }, {
      name: '管理成本',
      field_name: 'js_management_costs',
      state: false,
    }, {
      name: '利润金额',
      field_name: 'js_profit_amount',
      state: false,
    }, {
      name: '已付款金额',
      field_name: 'js_paid_amount',
      state: false,
    }, {
      name: '待付款金额',
      field_name: 'js_unpaid_amount',
      state: false,
    }, {
      name: '结算税金',
      field_name: 'js_settlement_taxes',
      state: false,
    }, {
      name: '成本金额',
      field_name: 'js_settlement_cost_amount',
      state: false,
    }, {
      name: '项目结算单',
      field_name: 'js_settlement_file',
      state: false,
    }, {
      name: '工程量清单',
      field_name: 'js_inventory_file',
      state: false,
    }, {
      name: '利润单',
      field_name: 'js_profit_statement_file',
      state: false,
    }, {
      name: '利润率',
      field_name: 'js_settlement_profit_margin',
      state: false,
    }, {
      name: '结算备注',
      field_name: 'js_desc',
      state: false,
    },{
      name: '结算优惠金额',
      field_name: 'wk_settlement_discount_amount',
      state: false,
    },{
      name: '最终结算总额',
      field_name: 'wk_final_settlement_amount',
      state: false,
    },{
      name: '待付尾款金额',
      field_name: 'wk_unpaid_amount',
      state: false,
    },{
      name: '最终利润金额',
      field_name: 'wk_final_profit_amount',
      state: false,
    },{
      name: '实付尾款金额',
      field_name: 'wk_amount_collected',
      state: false,
    },{
      name: '结算完成日期',
      field_name: 'wk_settlement_completion_date',
      state: false,
    },{
      name: '收款账户',
      field_name: 'wk_receiving_account_name',
      state: false,
    },{
      name: '付款凭证',
      field_name: 'wk_voucher_file',
      state: false,
    },{
      name: '尾款备注',
      field_name: 'wk_remark',
      state: false,
    },]
  },
];


export {
  permission_field
}